<template>
  <div>
    <div style="padding:50px;">
      <el-button type="primary" @click="dialogShow=true">弹窗</el-button>
    </div>
    
    <el-dialog v-el-drag-dialog title="" :visible.sync="dialogShow" >
      <p>1234567890</p>
    </el-dialog>
  </div>
</template>

<script>
import elDragDialog from '@/directive/el-drag-dialog'
export default {
  directives: { elDragDialog },
  data() {
    return {
      dialogShow: false
    }
  }

}
</script>
